package top.ssss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;

@SpringBootApplication
public class SpringApp {

    @Bean
    public StartupControllerUrlPrinter startupControllerUrlPrinter(RequestMappingHandlerMapping handlerMapping){
        return  new StartupControllerUrlPrinter(handlerMapping);
    }

    public static void main(String[] args) {
        SpringApplication.run(SpringApp.class,args);
    }
}
